package com.wcsy.myblog.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;

/**
 * 关注表
 * */
@TableName("tb_attention")
public class Attention {
  @TableId(type = IdType.INPUT)
  @ApiModelProperty("关注表id")
  private long id;
  @ApiModelProperty("被关注者的用户id")
  private long attentionId;
  @ApiModelProperty("被关注者的用户昵称")
  private String attentionName;
  @ApiModelProperty("被关注者的用户头像")
  private String attentionImg;
  @ApiModelProperty("关注者的的用户昵称")
  private String userName;
  @ApiModelProperty("关注者的用户头像")
  private String userImg;
  @ApiModelProperty("关注者的用户id")
  private long userId;
  @ApiModelProperty("未查看的粉丝数")
  private long userFan;

  public long getUserFan() {
    return userFan;
  }

  public void setUserFan(long userFan) {
    this.userFan = userFan;
  }

  public long getId() {
    return id;
  }

  public void setId(long id) {
    this.id = id;
  }


  public long getAttentionId() {
    return attentionId;
  }

  public void setAttentionId(long attentionId) {
    this.attentionId = attentionId;
  }


  public String getAttentionName() {
    return attentionName;
  }

  public void setAttentionName(String attentionName) {
    this.attentionName = attentionName;
  }


  public String getAttentionImg() {
    return attentionImg;
  }

  public void setAttentionImg(String attentionImg) {
    this.attentionImg = attentionImg;
  }


  public String getUserName() {
    return userName;
  }

  public void setUserName(String userName) {
    this.userName = userName;
  }


  public String getUserImg() {
    return userImg;
  }

  public void setUserImg(String userImg) {
    this.userImg = userImg;
  }


  public long getUserId() {
    return userId;
  }

  public void setUserId(long userId) {
    this.userId = userId;
  }

  @Override
  public String toString() {
    return "Attention{" +
            "id=" + id +
            ", attentionId=" + attentionId +
            ", attentionName='" + attentionName + '\'' +
            ", attentionImg='" + attentionImg + '\'' +
            ", userName='" + userName + '\'' +
            ", userImg='" + userImg + '\'' +
            ", userId=" + userId +
            ", userFan=" + userFan +
            '}';
  }
}
